\def\filedate{2009/10/26}
\def\fileversion{1.02}
\ProvidesPackage{ASP}
             [\filedate\space\fileversion\space(Ivano Malavolta)]
\typeout{}
\typeout{----------------------}
\typeout{ASP Formatting Package}
\typeout{----------------------}
\typeout{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\usepackage{listings}
\usepackage{color}
%\usepackage{times}

\newcommand{\KeywordsASP}{\lstset{keywords={}}}

 \lstset{
%   backgroundcolor=\color{gray},
%   breaklines=true,
%   frame=single,
   framerule=0pt,
%   language=,
   numbers=right,
%   numbersep=5pt,
%   showspaces=false,
%   showtabs=false,
%   tabsize=4,
%   basicstyle=\ttfamily\scriptsize,
%   commentstyle=\ttfamily\itshape,
%   identifierstyle=\ttfamily\scriptsize\bfseries,
%   numberstyle=\ttfamily\tiny,
 }

\lstdefinestyle{ASP}{
    backgroundcolor=\color{gray},
    breaklines=true,
    frame=single,
    framerule=0pt,
    numbers=left,
    numbersep=1pt,
    showspaces=false,
    showtabs=false,
    basicstyle=\scriptsize\ttfamily,
    commentstyle=\itshape,
    identifierstyle=\scriptsize,
    numberstyle=\tiny,
    backgroundcolor=\color{gray},
    basicstyle=\ttfamily\scriptsize,
%        basicstyle=\ttfamily,
    %keywordstyle=\scriptsize\bfseries,
    keywordstyle=\color{blue}\bfseries,
    stringstyle=\color{blue}\ttfamily,
        commentstyle=\color{commentColor}\ttfamily,
        emphstyle=\ttfamily\color{emphColor},
       numberstyle=\color{numberColor},
        tabsize=1,
        frame=,
        breaklines=true,
%       postbreak={(*@$\hookrightarrow$@*)},
%       postbreak={(*@$\nearrow$@*)},
%       postbreak=\mbox{{\color{red}\tiny$\rightarrow$}},
   %     postbreak=\mbox{{\color{red}\tiny$\hookrightarrow$}},
}

\lstdefinelanguage{ASPencoding}{
        %morekeywords={metamodel,helper,metanode,metaprop,metaedge,model,node,prop,edge,node',prop',edge',composition,association,generalization,condition,relation,trace_node,trace_edge,bidirectional,do,operation,transformation,top,relation,enforce,domain,when,where,nodex,edgex,propx},
        emph={},
        sensitive=true,
        morecomment=[l]{--},
        morestring=[b]",
        keywordstyle=\color{blue}\bfseries,
}

\lstdefinelanguage{ASPencoding2}{
        morekeywords={},
        emph={},
        sensitive=true,
        morecomment=[l]{--},
        morestring=[b]",
}


\endinput
